import request from '@/utils/request'

// 查询宿舍卫生信息列表
export function listDormitoryHygiene(data) {
    return request({
        url: '/smartdor/dorHygiene/listDormitoryHygiene',
        method: 'post',
        data: data
    })
}

// 删除卫生信息
export function delDormitoryHygiene(id) {
    return request({
        url: '/smartdor/dorHygiene/delDormitoryHygiene/' + id,
        method: 'delete'
    })
}

// 导出卫生信息
export function exportDormitoryHygiene(query) {
    return request({
        url: '/smartdor/dorHygiene/exportDormitoryHygiene',
        method: 'post',
        responseType:'blob',
        data: query
    })
}
